function [resultVector, grade] = TestClassifier(classifier, X1, X2, Y)
    cellColumns1 = num2cell(X1);
    cellColumns2 = num2cell(X2);
    resultVector = cellfun(@classifier.areSame, cellColumns1, cellColumns2);
    correctAnswers = length(find(resultVector == Y));
    grade = (correctAnswers/length(Y))*100;
end